#ifndef EXPORTDATADIALOG_H
#define EXPORTDATADIALOG_H

#include <QtGui/QWidget>
#include <QTreeWidgetItem>
#include <QDate>
#include <QTime>
#include <QString>
#include <QFile>
#include <QTextStream>
#include <QDialog>

#include "SQLiteDB.h"
#include "ui_ExportDataDialog.h"

class ExportDataDialog : public QDialog
{
    Q_OBJECT

public:
    ExportDataDialog(QDialog *parent = 0);
    ~ExportDataDialog();

    void setExportColumnList();

public slots:
	void showThisDialog();
	void itemClicked(QTreeWidgetItem*, int);
	void save();

private:
    Ui::ExportDataDialogClass ui;
    QVector<QString> mTableNames;
    QString mDefaultSaveFile;
    bool mNeedInit;
};

#endif // EXPORTDATADIALOG_H
